package com.oxygen.pt.mapper;


import com.github.pagehelper.Page;
import com.oxygen.pt.pojo.entity.TreatmentRecord;
import com.oxygen.pt.pojo.vo.TreatmentRecordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

@Mapper
public interface TreatmentRecordMapper {

    int insertSelective(TreatmentRecord record);

    Page<TreatmentRecordVO> pageQuery(@Param("patientId")   Long   patientId,
                                      @Param("startTime")   LocalDateTime startTime,
                                      @Param("endTime") LocalDateTime endTime,
                                      @Param("chamberNumber") Integer chamberNumber,
                                      @Param("operator")    String operator);
}